-- GENERATED SPELL FOR [Forsaken Herbalist] --


function spell0_3733(pUnit, Event) --@Contagion of Rot,n/a--
pUnit:FullCastSpellOnTarget(7102,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3733', 606, 1)
end

function Sorts_3733(pUnit, Event)
local choix_sorts_3733 = math.random(0, 0)
if choix_sorts_3733 == 0 then
pUnit:RegisterEvent('spell0_3733', 1, 1)
end
end

function mob3733_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3733', math.random(1500, 3000), 1)
end

function mob3733_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3733_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3733_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3733, 1, 'mob3733_Action')
RegisterUnitEvent(3733, 2, 'mob3733_Leave')
RegisterUnitEvent(3733, 3, 'mob3733_Kill')
RegisterUnitEvent(3733, 4, 'mob3733_Die')
